

/*
 * @Descripttion: 
 * @Author: 李增辉
 * @Date: 2024-03-01 10:56:35
 * @LastEditors: 李增辉
 * @LastEditTime: 2024-03-01 21:30:03
 */

const puppeteer = require('puppeteer');



puppeteer.launch({
  executablePath: 'C:/Program Files/Google/Chrome/Application/chrome.exe'
}).then(async browser => {
  const page = await browser.newPage();
  await page.goto('https://www.baidu.com');
  // 其他操作...
  //  await browser.close();
});